package com.ulife.order.api.response;

import com.ulife.common.gateway.utils.annotation.Description;
import com.ulife.common.gateway.utils.responseEntity.StringArrayResp;

import java.io.Serializable;

/**
 * Created by Roger liao on 2016/4/12.
 */
@Description("虚拟商品信息")
public class VirtualProductInfo implements Serializable {

    @Description("优惠券ID")
    public long id;
    @Description("优惠券类型（REDUCE=满减、POSTAGEREDUCE=包邮..）")
    public String type;
    @Description("优惠券描述")
    public String desc;
    @Description("优惠券名称")
    public String title;
    @Description("起始日期")
    public long start;
    @Description("结束日期")
    public long end;
    @Description("pc端详情链接")
    public String pcUrl;
    @Description("移动端详情链接")
    public String mobileUrl;
    @Description("优惠券渠道（自营、寄售）")
    public String productFrom;
    @Description("优惠券使用终端提示")
    public String terminal="";
    @Description("优惠券状态")
    public int status;
    @Description("优惠券适用门店（外部优惠券）")
    public StringArrayResp shop;
    @Description("优惠券提示")
    public String tip="";
    @Description("适用商品ID")
    public long[] items;
    @Description("适用商品合计金额")
    public double amounts;
    @Description("适用商品合计后差额")
    public double difference;
    @Description("优惠券品牌")
    public String brand="";
    @Description("优惠券券码")
    public String code="";

    @Description("优惠规则ID")
    public long ruleid;
    @Description("优惠限额")
    public double limit;
    @Description("优惠金额")
    public double preferential;
    @Description("优惠券规则描述")
    public String ruledesc;

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public long getStart() {
        return start;
    }

    public void setStart(long start) {
        this.start = start;
    }

    public long getEnd() {
        return end;
    }

    public void setEnd(long end) {
        this.end = end;
    }

    public String getPcUrl() {
        return pcUrl;
    }

    public void setPcUrl(String pcUrl) {
        this.pcUrl = pcUrl;
    }

    public String getMobileUrl() {
        return mobileUrl;
    }

    public void setMobileUrl(String mobileUrl) {
        this.mobileUrl = mobileUrl;
    }

    public String getProductFrom() {
        return productFrom;
    }

    public void setProductFrom(String productFrom) {
        this.productFrom = productFrom;
    }

    public String getTerminal() {
        return terminal;
    }

    public void setTerminal(String terminal) {
        this.terminal = terminal;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public StringArrayResp getShop() {
        return shop;
    }

    public void setShop(StringArrayResp shop) {
        this.shop = shop;
    }

    public String getTip() {
        return tip;
    }

    public void setTip(String tip) {
        this.tip = tip;
    }

    public long[] getItems() {
        return items;
    }

    public void setItems(long[] items) {
        this.items = items;
    }

    public double getAmounts() {
        return amounts;
    }

    public void setAmounts(double amounts) {
        this.amounts = amounts;
    }

    public double getDifference() {
        return difference;
    }

    public void setDifference(double difference) {
        this.difference = difference;
    }

    public long getRuleid() {
        return ruleid;
    }

    public void setRuleid(long ruleid) {
        this.ruleid = ruleid;
    }

    public double getLimit() {
        return limit;
    }

    public void setLimit(double limit) {
        this.limit = limit;
    }

    public double getPreferential() {
        return preferential;
    }

    public void setPreferential(double preferential) {
        this.preferential = preferential;
    }

    public String getRuledesc() {
        return ruledesc;
    }

    public void setRuledesc(String ruledesc) {
        this.ruledesc = ruledesc;
    }
}
